/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.ipo.mm.ejb.facade.institution;

import java.util.List;
import javax.ejb.Local;
import org.ipo.mm.ejb.entities.Institution;

/**
 *
 * @author makcro
 */
@Local
public interface InstitutionFacadeLocal {

    void create(Institution institution);

    void edit(Institution institution);

    void remove(Institution institution);

    Institution find(Object id);

    List<Institution> findAll();

    List<Institution> findWithEmail();
    
    public java.util.Collection<org.ipo.mm.ejb.entities.Institution> search(java.lang.String nameFilter, java.lang.String nameOperator, java.lang.String addressFilter, java.lang.String addressOperator, java.lang.String emailFilter, java.lang.String emailOperator, java.lang.String telephoneFilter, java.lang.String telephoneOperator, java.lang.String faxFilter, java.lang.String faxOperator, java.lang.String representativeFilter, java.lang.String representativeOperator, java.lang.String[] typeFilter, java.lang.String[] regionFilter, java.lang.String[] familyFilter, java.lang.String[] cityFilter, java.lang.String orderBy, int firstResult, int maxResults, boolean isQuickSearch);

    public java.lang.Long getSearchResultCount(java.lang.String nameFilter, java.lang.String nameOperator, java.lang.String addressFilter, java.lang.String addressOperator, java.lang.String emailFilter, java.lang.String emailOperator, java.lang.String telephoneFilter, java.lang.String telephoneOperator, java.lang.String faxFilter, java.lang.String faxOperator, java.lang.String representativeFilter, java.lang.String representativeOperator, java.lang.String[] typeFilter, java.lang.String[] regionFilter, java.lang.String[] familyFilter, java.lang.String[] cityFilter, java.lang.String orderBy, boolean isQuickSearch);

    

}
